"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Person = (function () {
    function Person(name) {
        this.age = 20;
        this.name = name;
    }
    Person.prototype.run = function () {
        console.log(this.name + "\u5728\u8FD0\u52A8");
    };
    Person.prototype.work = function () {
        console.log(this.name + "\u5728\u5DE5\u4F5C");
    };
    Person.print = function () {
        console.log(Person.sex);
    };
    Person.sex = '男';
    return Person;
}());
var p1 = new Person('王五');
console.log(p1.name, p1.age);
p1.work();
Person.print();
